<?php 
	session_start();
	if(isset($_SESSION['admitido']) && $_SESSION['admitido']){
		$_SESSION['admitido'] = false;
		session_destroy();	
	}
	header('Location: ../index.php');
?>